import request from '../utils/request';

export const getUsersLoginApi = (data) => request.post('/users/login', data);

export const getUsersApi = (params) => request.get('/users', {
  headers: {
    authorization: localStorage.token,
  },
  params,
});

export default {};
